﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DC.Serialization.Event
{
    public class Services : DC.Serialization.Event.IServiceContract
    {

        public Address GetAddress(Address address)
        {
            Console.WriteLine(String.Format("Country:{0} Province:{1} City:{2} Street:{3}", address.Country, address.Province, address.City, address.Street));
            return address;
        }

        public Contact GetContact(Contact contact)
        {
           Console.WriteLine(String.Format("FirstName:{0} LastName:{1} PhoneNumber:{2} CarNumber:{3}", contact.FirstName, contact.LastName, contact.PhoneNumber, contact.CarNumber));
           return contact;
        }
    }
}
